<?php

//  退出功能
if ($_SERVER['REQUEST_METHOD']=='GET' || isset($_GET['action']) || $_GET['action']=='exit') {
    //删除登录标识
    
    session_start();
    $_SESSION = array();
    // unset($_SESSION['current_login_user']);
    header('Location: /admin/users/login.php');
}
